[INFO] cloning repository https://github.com/roblabla/hidapi-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roblabla/hidapi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e8a996f9b0d1de7a1bbe816c74eb4537c3bf8161
[INFO] checking roblabla/hidapi-rs against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froblabla%2Fhidapi-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/roblabla/hidapi-rs on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/roblabla/hidapi-rs
[INFO] finished tweaking git repo https://github.com/roblabla/hidapi-rs
[INFO] tweaked toml for git repo https://github.com/roblabla/hidapi-rs written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/roblabla/hidapi-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f79c0b19dd3ce43b64011d5bd9232b1c52fc57b36fb9a6999ac6bab88f7fa7c3
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f79c0b19dd3ce43b64011d5bd9232b1c52fc57b36fb9a6999ac6bab88f7fa7c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f79c0b19dd3ce43b64011d5bd9232b1c52fc57b36fb9a6999ac6bab88f7fa7c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f79c0b19dd3ce43b64011d5bd9232b1c52fc57b36fb9a6999ac6bab88f7fa7c3", kill_on_drop: false }`
[INFO] [stdout] f79c0b19dd3ce43b64011d5bd9232b1c52fc57b36fb9a6999ac6bab88f7fa7c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bf3d03acfaf75fc3f0b63831dd9ccc87b26acc7de63a93b99b94da9548374d47
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "bf3d03acfaf75fc3f0b63831dd9ccc87b26acc7de63a93b99b94da9548374d47", kill_on_drop: false }`
[INFO] [stderr]     Checking hidapi-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `HidDevice` in this scope
[INFO] [stdout]   --> src/os/mod.rs:18:92
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn hid_open(vendor_id: u16, product_id: u16, serial_number: Option<&str>) -> HidResult<HidDevice>
[INFO] [stdout]    |                                                                                            ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::HidDevice;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HidDevice` in this scope
[INFO] [stdout]   --> src/os/mod.rs:18:92
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn hid_open(vendor_id: u16, product_id: u16, serial_number: Option<&str>) -> HidResult<HidDevice>
[INFO] [stdout]    |                                                                                            ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 11 | use crate::HidDevice;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in this scope
[INFO] [stdout]   --> src/os/mod.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |     for cur_dev in hid_enumerate(vendor_id, product_id) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in this scope
[INFO] [stdout]   --> src/os/mod.rs:20:20
[INFO] [stdout]    |
[INFO] [stdout] 20 |     for cur_dev in hid_enumerate(vendor_id, product_id) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in this scope
[INFO] [stdout]   --> src/os/mod.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |                     return hid_open_path(&cur_dev.path);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in this scope
[INFO] [stdout]   --> src/os/mod.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 (None, _) => return hid_open_path(&cur_dev.path),
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in this scope
[INFO] [stdout]   --> src/os/mod.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |                     return hid_open_path(&cur_dev.path);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in module `os`
[INFO] [stdout]   --> src/lib.rs:63:31
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let device_list = os::hid_enumerate(0, 0).collect::<Vec<DeviceInfo>>();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in module `os`
[INFO] [stdout]   --> src/lib.rs:71:31
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let device_list = os::hid_enumerate(0, 0).collect::<Vec<DeviceInfo>>();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in module `os`
[INFO] [stdout]   --> src/lib.rs:94:36
[INFO] [stdout]    |
[INFO] [stdout] 94 |             internal: Box::new(os::hid_open_path(device_path)?)
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in this scope
[INFO] [stdout]   --> src/os/mod.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 (None, _) => return hid_open_path(&cur_dev.path),
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HidDevice` in module `os`
[INFO] [stdout]    --> src/lib.rs:100:23
[INFO] [stdout]     |
[INFO] [stdout] 100 |     internal: Box<os::HidDevice>
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in module `os`
[INFO] [stdout]   --> src/lib.rs:63:31
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let device_list = os::hid_enumerate(0, 0).collect::<Vec<DeviceInfo>>();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hid_enumerate` in module `os`
[INFO] [stdout]   --> src/lib.rs:71:31
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let device_list = os::hid_enumerate(0, 0).collect::<Vec<DeviceInfo>>();
[INFO] [stdout]    |                               ^^^^^^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `hid_open_path` in module `os`
[INFO] [stdout]   --> src/lib.rs:94:36
[INFO] [stdout]    |
[INFO] [stdout] 94 |             internal: Box::new(os::hid_open_path(device_path)?)
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HidDevice` in module `os`
[INFO] [stdout]    --> src/lib.rs:100:23
[INFO] [stdout]     |
[INFO] [stdout] 100 |     internal: Box<os::HidDevice>
[INFO] [stdout]     |                       ^^^^^^^^^ not found in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hidapi-rs`.
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "bf3d03acfaf75fc3f0b63831dd9ccc87b26acc7de63a93b99b94da9548374d47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf3d03acfaf75fc3f0b63831dd9ccc87b26acc7de63a93b99b94da9548374d47", kill_on_drop: false }`
[INFO] [stdout] bf3d03acfaf75fc3f0b63831dd9ccc87b26acc7de63a93b99b94da9548374d47
